package com.yuting.server;

import com.yuting.model.User;

/**
 * @author cyt
 * @date 2020/6/28
 */
public class ServerDao {

    private static final String MANAGER_ACCOUNT = "admin";

    private static final String MANAGER_PASSWORD = "123";

    public boolean serverManagerCheck(User user){
        if(MANAGER_ACCOUNT.equals(user.getUsername())&& MANAGER_PASSWORD.equals(user.getPassword())){
            return true;
        }else {
            return false;
        }
    }
}
